﻿namespace OOP
{
    using System;

    public class GSMTest
    {
        public static void GSMCasualTest()
        {
            GSM[] firstConsignment = new GSM[] { new GSM(), new GSM("Lumia", "Nokia", 900, "Bill Gates - Monsanto", new Display(5.9f, "65K HD"), new Battery("crazyBattery", 100, 300, Battery.BatteryType.NiCd550)) };

            foreach (var gsm4e in firstConsignment)
            {
                Console.WriteLine(gsm4e.ToString());
                Console.WriteLine(new string('-', 20));
            }
        }

        public static void IPhoneTest()
        {
            GSM newGSM = new GSM();
            newGSM = GSM.IPhone4SSpecifications;
            newGSM.PrintGSMInfo();
            Console.WriteLine(new string('-', 20));
        }
    }
}